package com.elec.domain.entity;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 记录用户的缴费信息(PaymentRecord)表实体类
 *
 * @author yu
 * @since 2024-07-05 13:42:59
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("payment_record")
public class PaymentRecord {
    @TableId
    private Integer paymentId;

    //账单ID，关联电费账单表
    private Integer billId;
    //用户ID，关联用户表
    private Integer userId;
    //实际支付金额
    private Double paymentAmount;
    //支付方式
    private String paymentMethod;
    //支付日期
    private Date paymentDate;
    //第三方交易ID
    private String transactionId;


}
